#-------------------------------------------------
#
# Project created by QtCreator 2015-08-01T00:00:11
#
#-------------------------------------------------

FRAMEWORK_ROOT = $$PWD/../../../..

include($${FRAMEWORK_ROOT}/source/common/build.pri)

# jcurve

curve_headers = \
    $$PWD/jcurve_global.h \
    $$PWD/jcurve_inc.h \
    $$PWD/jcurve.h \
    $$PWD/jcurvewidget.h

contains(QT, charts) {
    curve_headers += \
        $$PWD/jcurveview.h

    HEADERS += \
        $$PWD/private/jchartprivate.h

    SOURCES += \
        $$PWD/private/jchartprivate.cpp \
        $$PWD/jcurveview.cpp \
}

HEADERS += \
    $$curve_headers \
    $$PWD/private/jcurvewidget_p.h \
    $$PWD/private/jsiftareaeditor.h \
    $$PWD/private/jbaselineshapeitem.h

SOURCES += \
    $$PWD/jcurve_global.cpp \
    $$PWD/jcurve.cpp \
    $$PWD/jcurvewidget.cpp \
    $$PWD/private/jcurvewidget_p.cpp \
    $$PWD/private/jsiftareaeditor.cpp \
    $$PWD/private/jbaselineshapeitem.cpp

################################################
## framework
################################################

# for jplugin.curve
framework_headers_jcurve.version = Versions
framework_headers_jcurve.path = Headers
framework_headers_jcurve.files = $$curve_headers

################################################
